package com.ddc.api;

import com.ddc.api.vo.ApplyLoanVo;
import com.wang.commons.result.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "LoanApplyApi",value = "loan-apply")
public interface LoanApplyApi {
    //贷款申请的方法
    @PostMapping("apply")
    public Result apply(@RequestBody ApplyLoanVo alo);

}
